package com.hmyd.hmyd_android.dto;

import java.io.Serializable;

import android.text.TextUtils;

public class Address implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public String id;
	public String addressee;
	public String province;
	public String city;
	public String area;
	public String address;
	public String cellPhoneNumber;
	public String fixedTelephone;
	public boolean isDefault;
	
	public boolean isEmpty() {
		if(TextUtils.isEmpty(id) && TextUtils.isEmpty(addressee) && TextUtils.isEmpty(province) && TextUtils.isEmpty(city)
				&& TextUtils.isEmpty(area) && TextUtils.isEmpty(address) && TextUtils.isEmpty(cellPhoneNumber) && 
				TextUtils.isEmpty(fixedTelephone)) {
			return true;
		}
		return false;
	}

}
